#ifndef LOGINDIALOG_H
#define LOGINDIALOG_H

#include <QDialog>

class QPushButton;
class QLineEdit;
class QLabel;
class QRadioButton;
class QComboBox;

class LoginDialog : public QDialog
{
    Q_OBJECT
public:
    LoginDialog();
    ~LoginDialog();
protected:
    void paintEvent(QPaintEvent *event);
private:
    void slotLogin();
private:
    QPushButton *m_pLogInButton;
    QLineEdit *m_pNameLineEdit,*m_pPWDLineEdit;
    QLabel *m_pPromptLabel;
};

class PreviewSpeedDialog:public QDialog
{
    Q_OBJECT
public:
    PreviewSpeedDialog();
    ~PreviewSpeedDialog();
private:
    QRadioButton *m_pLowButton,*m_pMidButton,*m_pHighButton;
    QPushButton *m_pOkButton;
};

class ParamSettingsDialog:public QDialog
{
    Q_OBJECT
public:
    ParamSettingsDialog();
    ~ParamSettingsDialog();
private:
    QComboBox *m_pStretchComboBox,*m_pRevolveComboBox,*m_pResolutionComboBox;
    QPushButton *m_pOkButton;
};

#endif // LOGINDIALOG_H

